Page({
  data: {
    animation: {}
  },
  onShow: function () {
    var that =this;
    var animation = wx.createAnimation({
      duration: 1000,
      timingFunction: 'ease',
    });
    this.animation = animation;
    // this.animation.translateY(-420).rotate(-5).translateX(0).step();
    // this.animation.translateY(0).translateX(0).rotate(0).step();

    this.animation.scaleY(40, 20, 10).step()
    this.setData({
      animationData: this.animation.export()
    });
    setTimeout(function () {
      that.setData({
        animationData: {}
      });
    }, 1000);  

  }
})